package com.ztf.lambda;

import java.util.Arrays;
import java.util.List;

public class LambdaTest2 {
    public static void main(String[] args) {
        List<String> list1 = Arrays.asList("java","c","pathon","php","c++","c#");
        //list1.forEach(n-> System.out.println(n));
        list1.forEach(System.out::println);
    }


}

